package com.culturaltourism.admin.service;

import com.culturaltourism.admin.pojo.SysUser;
import com.culturaltourism.core.dto.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @InterfaceName: LoginService
 * @Description: 系统登录接口
 * @Author MaShuai
 * @Date 2019/5/1 17:35
 * @Version V1.0
 */
public interface LoginService {

    String login(HttpServletRequest request, SysUser sysUser);

    Result updatePwd(HttpServletRequest request, String oldPwd, String newPwd);
}
